//
//  PersonCell.h
//  Assistant
//
//  Created by Hunk on 12-3-7.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AddressBookPerson.h"

@protocol PersonCellDelegate;
@interface PersonCell : UITableViewCell
{
    @private
    AddressBookPerson      *_person;
    
    UIButton               *_photoButton;
    
    UILabel                *_nameLabel;
    
    id<PersonCellDelegate> _delegate;
}
@property (nonatomic, retain) AddressBookPerson      *person;
@property (nonatomic, assign) id<PersonCellDelegate> delegate;

@end

@protocol PersonCellDelegate <NSObject>

- (void)personCell:(PersonCell *)cell didSelectedPerson:(AddressBookPerson *)person;

@end